package org.jeecg.modules.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.system.entity.CqProject;
import org.jeecg.modules.system.entity.CqProjectDetail;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: priject
 * @Author: jeecg-boot
 * @Date: 2021-05-17
 * @Version: V1.0
 */
public interface ICqProjectService extends IService<CqProject> {

    /**
     * 添加一对多
     */
    public void saveMain(CqProject cqProject, List<CqProjectDetail> cqProjectDetailList);

    /**
     * 修改一对多
     */
    public void updateMain(CqProject cqProject, List<CqProjectDetail> cqProjectDetailList);

    /**
     * 删除一对多
     */
    public void delMain(String id);

    /**
     * 批量删除一对多
     */
    public void delBatchMain(Collection<? extends Serializable> idList);

}
